package com.sservice.service.service;


import com.sservice.model.entity.ClienteleAccount;
import com.sservice.model.vo.ClienteleAccountVo;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */

public interface IClienteleAccountService {
    int deleteByPrimaryKey(Integer id);

    int insert(ClienteleAccount record);

    int insertSelective(ClienteleAccount record);

    /**
     * 根据客户ID查询客户账户
     *
     * @param clienteleId
     * @return
     */
    ClienteleAccount selectClientAccountByClientele(String clienteleId);

    ClienteleAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ClienteleAccount record);

    int updateByPrimaryKey(ClienteleAccount record);

    int queryByCount(ClienteleAccountVo record);

    List<ClienteleAccountVo> queryByPage(ClienteleAccountVo record);
}
